﻿using System;

namespace QDT.Core.Experience
{
    public class ExpCredit : Entity
    {

        /// <summary>
        /// 项目的ID
        /// </summary>
        public int ExpProjectId { get; set; }

        /// <summary>
        /// 债权ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 债权人的帐号
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 持有债权金额
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 已回收利息
        /// </summary>
        public decimal Earning { get; set; }

        /// <summary>
        /// 投资时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        
        /// <summary>
        /// 是否偿还
        /// </summary>
        public bool IsRepay { get; set; }

        /// <summary>
        /// 客户端
        /// </summary>
        public int Client { get; set; }

    }
}
